package com.dingding.facade.special.trasfer.place;

/**
 * @Description:后台发布订单的状态码
 * @author fengshuonan
 * @date 2016年9月13日 下午9:36:20
 * @version 叮叮搭车
 * @since 2.4
 */
public enum BackstagePlaceStatus {
	
	SERVER_ERROR(500,"服务器异常"),
	HAVE_NOT_FINISH_ORDER(501,"存在未完成订单");
	
	private int code; // 状态码

	private String message; // 状态码消息

	private BackstagePlaceStatus(int code, String message) {
		this.code = code;
		this.message = message;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
